package com.lovar.gaming.dao.domain;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* @author chenwl
* @description 帖子表
* @TableName base_forum_post
* @Date 2024-08-06 17:09:55
*/
@Data
public class BaseForumPost implements Serializable{
    /**
    * 主键
    */
    @TableId(value = "id")
    private String id;
    /**
    * 用户标识
    */
    @TableField(value = "user_id")
    private String userId;
    /**
    * 菜单标识
    */
    @TableField(value = "menu_id")
    private String menuId;
    /**
    * 帖子标题
    */
    @TableField(value = "title")
    private String title;
    /**
    * 帖子内容
    */
    @TableField(value = "content")
    private String content;
    /**
    * 付费内容
    */
    @TableField(value = "paid_content")
    private String paidContent;
    /**
    * 付费内容所需积分
    */
    @TableField(value = "cost_point")
    private Integer costPoint;
    /**
    * 评论数量
    */
    @TableField(value = "remark_num")
    private Integer remarkNum;
    /**
    * 点赞数量
    */
    @TableField(value = "praise_num")
    private Integer praiseNum;
    /**
    * 收藏数量
    */
    @TableField(value = "favorite_num")
    private Integer favoriteNum;
    /**
    * 启用状态
    */
    @TableField(value = "is_active")
    private String isActive;
    /**
    * 删除标识
    */
    @TableField(value = "delete_mark")
    private String deleteMark;
    /**
    * 创建人
    */
    @TableField(value = "create_id", fill = FieldFill.INSERT)
    private String createId;
    /**
    * 创建时间
    */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
    * 更新人
    */
    @TableField(value = "update_id", fill = FieldFill.UPDATE)
    private String updateId;
    /**
    * 更新时间
    */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
}

